package org.example.bean;

import java.time.LocalDate;

public class ClassBean {
    /**班级编号*/
    private String classID;
    /**班级名*/
    private String className;
    /**带班老师*/
    private String classTeacher;
    /**开班时间*/
    private LocalDate classDate;

    public ClassBean() {
    }

    public ClassBean(String className, String classTeacher, LocalDate classDate) {
        this.className = className;
        this.classTeacher = classTeacher;
        this.classDate = classDate;
    }

    public String getClassID() {
        return classID;
    }

    public void setClassID(String classID) {
        this.classID = classID;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassTeacher() {
        return classTeacher;
    }

    public void setClassTeacher(String classTeacher) {
        this.classTeacher = classTeacher;
    }

    public LocalDate getClassDate() {
        return classDate;
    }

    public void setClassDate(LocalDate classDate) {
        this.classDate = classDate;
    }

    @Override
    public String toString() {
        return "\nClassBean{" +
                "classID='" + classID + '\'' +
                ", className='" + className + '\'' +
                ", classTeacher='" + classTeacher + '\'' +
                ", classDate=" + classDate +
                '}';
    }
}
